package com.woniu.product.service.impl;

import com.woniu.product.mapper.WarehouseInfoMapper;
import com.woniu.product.pojo.WarehouseInfo;
import com.woniu.product.service.IWarehouseInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 仓库信息表 服务实现类
 * </p>
 *
 * @author LiFangyu
 * @since 2023-02-15
 */
@Service
public class WarehouseInfoServiceImpl extends ServiceImpl<WarehouseInfoMapper, WarehouseInfo> implements IWarehouseInfoService {

    @Autowired(required = false)
    private WarehouseInfoMapper warehouseInfoMapper;

    @Override
    public WarehouseInfo getNameById(String id) {
        return warehouseInfoMapper.selectById(id);
    }

}
